package com.bjwl.service;

import com.bjwl.pojo.Business;
import com.bjwl.pojo.vo.QueryBusinessVo;
import com.bjwl.utils.PageBean;

import java.util.Date;
import java.util.List;

/**
 * @Author: czc
 * @Date:Create：in 2020/4/14 11:22
 * @Description:业务管理层
 * @Modified By：
 * @Version: 1.0
 */
public interface BusinessService {

    //根据分店id 查询业务
    public List<Business> byBsIdFindBusinessC(Integer branchstoreid);
    //根据id回显当前业务信息
    public Business updateShowBusinese(Integer id);
    //根据业务id修改业务信息
    public void updateBusinessByid(Business business );
    //根据当前业务id删除当前业务
    public void deleteBusinese(Integer buid);
    //添加业务
    public void addBusiness(Business business);

    /**
     * 总店查询分店
     * @return
     */
    PageBean<Business> findAllBusiness(QueryBusinessVo queryBusinessVo);
    //查询当前分店业务数
    public Integer finBusinessCount(Integer bsid);
    Integer findAllBusinessTotalRecord();

    //******************************************
    public PageBean<Business> findBusinessBS(Integer pageNum, Integer branchstoreid,  String bstarttime, String bendtime,Integer bopid ,String bopvalue,Integer bsstate);
}
